package com.itheima.dao;

import org.apache.ibatis.annotations.Select;

import java.util.Map;

public interface OrderDao {

    @Select("select tm.name member,ts.name setmeal,tor.orderDate orderDate,tor.orderType orderType from t_order tor,t_member tm,t_setmeal ts where tor.member_id=tm.id and tor.setmeal_id=ts.id and tor.id=#{id}")
    Map findById(int id);
}
